package com.fimmlps.reronge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("entry_user_subscribe")
public class EntryUserSubscribe implements Serializable {

  @TableId(value = "entry_user_subscribe_id",type = IdType.AUTO)
  private Integer entryUserSubscribeId;

  private Integer userId;

  private Integer subedUserId;

  private Integer latestChatId;


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getSubedUserId() {
    return subedUserId;
  }

  public void setSubedUserId(Integer subedUserId) {
    this.subedUserId = subedUserId;
  }

}
